package com.fanqiechaodan.memento;

import lombok.Data;

/**
 * @author fanqiechaodan
 * @Classname Memento
 * @Description 备忘录类
 */
@Data
public class Memento {

    /**
     * 攻击力
     */
    private int attack;

    /**
     * 防御力
     */
    private int defense;

    /**
     * 生命值
     */
    private int hp;

    public Memento(int attack, int defense, int hp) {
        this.attack = attack;
        this.defense = defense;
        this.hp = hp;
    }
}
